package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 访客记录对象 tmc_visitor_manage
 * 
 * @author ruoyi
 * @date 2021-03-31
 */
public class TmcVisitorManage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 申请用户 */
    @Excel(name = "申请用户")
    private Long publicuserId;

    /** 有效期至 */
    @JsonFormat(pattern = "yyyy-MM-dd hh:MM")
    @Excel(name = "有效期至", width = 30, dateFormat = "yyyy-MM-dd hh:MM")
    private String validitytime;

    /** 访客姓名 */
    @Excel(name = "访客姓名")
    private String vistorname;

    /** 访客人数 */
    @Excel(name = "访客人数")
    private Long vistorcount;

    /** 来访事由 */
    @Excel(name = "来访事由")
    private Long visitorreason;

    /** 是否驾车 */
    @Excel(name = "是否驾车")
    private Long driverstate;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String carcode;

    /** 访客二维码 */
    @Excel(name = "访客二维码")
    private String visitqrcode;

    /** 邀请状态 */
    @Excel(name = "邀请状态")
    private Long state;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createtime;

    /** 房屋ID */
    @Excel(name = "房屋ID")
    private Long houseinfoId;

    /** 社区ID */
    @Excel(name = "社区ID")
    private Long companyId;

    @Excel(name = "房屋名称")
    private String companyName;

    @Excel(name = "楼栋名称")
    private String unitName;

    @Excel(name = "房间号")
    private String houseNum;

    @Excel(name = "邀请人")
    private String ownername;

    @Override
    public String toString() {
        return "TmcVisitorManage{" +
                "id=" + id +
                ", publicuserId=" + publicuserId +
                ", validitytime='" + validitytime + '\'' +
                ", vistorname='" + vistorname + '\'' +
                ", vistorcount=" + vistorcount +
                ", visitorreason=" + visitorreason +
                ", driverstate=" + driverstate +
                ", carcode='" + carcode + '\'' +
                ", visitqrcode='" + visitqrcode + '\'' +
                ", state=" + state +
                ", createtime=" + createtime +
                ", houseinfoId=" + houseinfoId +
                ", companyId=" + companyId +
                ", companyName='" + companyName + '\'' +
                ", unitName='" + unitName + '\'' +
                ", houseNum='" + houseNum + '\'' +
                ", ownername='" + ownername + '\'' +
                '}';
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getPublicuserId() {
        return publicuserId;
    }

    public void setPublicuserId(Long publicuserId) {
        this.publicuserId = publicuserId;
    }

    public String getValiditytime() {
        return validitytime;
    }

    public void setValiditytime(String validitytime) {
        this.validitytime = validitytime;
    }

    public String getVistorname() {
        return vistorname;
    }

    public void setVistorname(String vistorname) {
        this.vistorname = vistorname;
    }

    public Long getVistorcount() {
        return vistorcount;
    }

    public void setVistorcount(Long vistorcount) {
        this.vistorcount = vistorcount;
    }

    public Long getVisitorreason() {
        return visitorreason;
    }

    public void setVisitorreason(Long visitorreason) {
        this.visitorreason = visitorreason;
    }

    public Long getDriverstate() {
        return driverstate;
    }

    public void setDriverstate(Long driverstate) {
        this.driverstate = driverstate;
    }

    public String getCarcode() {
        return carcode;
    }

    public void setCarcode(String carcode) {
        this.carcode = carcode;
    }

    public String getVisitqrcode() {
        return visitqrcode;
    }

    public void setVisitqrcode(String visitqrcode) {
        this.visitqrcode = visitqrcode;
    }

    public Long getState() {
        return state;
    }

    public void setState(Long state) {
        this.state = state;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Long getHouseinfoId() {
        return houseinfoId;
    }

    public void setHouseinfoId(Long houseinfoId) {
        this.houseinfoId = houseinfoId;
    }

    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getUnitName() {
        return unitName;
    }

    public void setUnitName(String unitName) {
        this.unitName = unitName;
    }

    public String getHouseNum() {
        return houseNum;
    }

    public void setHouseNum(String houseNum) {
        this.houseNum = houseNum;
    }

    public String getOwnername() {
        return ownername;
    }

    public void setOwnername(String ownername) {
        this.ownername = ownername;
    }
}
